package me.qi.kancha.resp;

public enum ErrorCode {
    TOAST(2201, "返回错误消息用于显示");

    private Integer error_code;

    private String error_message;

    ErrorCode(Integer error_code, String error_message) {
        this.error_code = error_code;
        this.error_message = error_message;
    }

    public Integer getError_code() {
        return error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }
}
